package edu.xpu.compute.recommend.fontpage.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestParam;

import edu.xpu.compute.recommend.common.annotation.Router;

@Controller
@Router(value="web/adminUser")
public class SysAdminUserRouter {

	/**
	 * 管理员列表
	 * @return
	 */
	@Router(value="list")
	public String adminUserList() {
		return "admin/adminUser/adminUserList";
	}
	/**
	 * 管理员图书
	 * @return
	 */
	@Router(value="add")
	public String adminUserAdd(@RequestParam(value="id", required=false) Long id, ModelMap modelMap) {
		modelMap.addAttribute("id", id);
		return "admin/adminUser/adminUserAdd";
	}
	/**
	 * 管理眼详情
	 * @return
	 */
	@Router(value="detail")
	public String adminUserDetail(@RequestParam(value="id") Long id, ModelMap modelMap) {
		modelMap.addAttribute("id", id);
		return "admin/adminUser/adminUserDetail";
	}
}
